package com.cpx.dto;

import java.util.List;

/**
 * @Auther: PanBin
 * @Date: 2018-8-28 14:38
 * @Description: 分页数据的实体类
 * @Version: 1.0
 */
public class PageBeanDto<T> {

    private Integer pageNum;         //当前的页码
    private Integer totalPage;           //总页数
    private Long totalRow;               //总行数
    private String url;                  //请求的url
    private List<T> pageList;            //单页的数据

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public Long getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(Long totalRow) {
        this.totalRow = totalRow;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<T> getPageList() {
        return pageList;
    }

    public void setPageList(List<T> pageList) {
        this.pageList = pageList;
    }
}
